package com.changfeng.service.impl;

import com.changfeng.bean.dto.vo.CityListVO;
import com.changfeng.dao.ReatailersCityMapper;
import com.changfeng.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private ReatailersCityMapper reatailersCityMapper;

    @Override
    public List<CityListVO> findByProvinceId(Integer provinceId) {
        return reatailersCityMapper.selectByProvinceId(provinceId);
    }
}
